from math import *
dayup, dayfactory = 1.0, 0.01
for i in range(365):
    if i % 7 in [6, 0]:
        dayup = dayup * (1 - dayfactory)
    else:
        dayup = dayup * (1 + dayfactory)
print("向上五天向下二天的力量为：{:.2f}".format(dayup))
